from django.db import models
from django.db.models.fields import DateField

# Create your models here.

class Excite(models.Model):
    excType = models.IntegerField()
    excCode = models.CharField(max_length=256)
    excValue = models.FloatField()
    
class Event(models.Model):
    eventTime = DateField()
    eventCode = models.CharField(max_length=256)
    
class Relation(models.Model):
    relationType = models.IntegerField()
    startID = models.IntegerField()
    endID = models.IntegerField()
    weight = models.FloatField()
